//
// Created by ASUS on 24-4-18.
//

#ifndef SQQUEUE_H
#define SQQUEUE_H

#define MaxSize 100
#define ElemType int

typedef struct {
    ElemType data[MaxSize];
    int front, rear;
}SqQueue;

void SqQueue_Init(SqQueue *q);
int SqQueue_Empty(SqQueue *q);
int SqQueue_En(SqQueue *q, ElemType e);
int SqQueue_De(SqQueue *q, ElemType *e);
int SqQueue_GetHead(SqQueue *q, ElemType *e);
void SqQueue_Print(SqQueue *q);


#endif //SQQUEUE_H
